/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kylingroup.Desktop.Database;


import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;

/**
 *
 * @author kylin
 */
public interface DBConnection {
    public Connection getConnection();
    public void close(Connection conn);
    public void close(PreparedStatement pstmt);
    public void close(Statement stmt);
    public void close(ResultSet rs);
    public void closeAll(ResultSet rs,Statement stmt,PreparedStatement pstmt,Connection conn);
}
